Builder
Functions
Link copied to clipboard
@NonNull
Add a filter for allowed actions.
Add an action to the list of allowed actions.
Link copied to clipboard
Allow any components.
Link copied to clipboard
@NonNull
Add a filter for allowed categories.
@NonNull
Add a category to the allowed category list.
Link copied to clipboard
@NonNull
Allows clipData that passes the given filter.
Link copied to clipboard
Allows clipData that contains text.
Link copied to clipboard
@NonNull
Allows clipData whose items URIs pass the given URI filter.
Link copied to clipboard
@NonNull
Allows clipData whose items URIs authorities match the given authority.
Link copied to clipboard
@NonNull
Add a component to the allowed components list.
@NonNull
Add a filter for allowed components.
Link copied to clipboard
@NonNull
Allow any component under the specified package.
Link copied to clipboard
@NonNull
Allow data that passes the filter test.
Link copied to clipboard
@NonNull
Convenient method to allow all data whose URI authority equals to the given.
Link copied to clipboard
@NonNull
Allows an extra member whose key matches the given key and whose value passes the filter test.
@NonNull
Allows an extra member whose key and type of value matches the given.
open fun <T> allowExtra(@NonNull key: @NonNull String, @NonNull clazz: @NonNull Class<T>, @NonNull valueFilter: @NonNull Predicate<T>): @NonNull IntentSanitizer.Builder
Allows an extra member whose key matches the given key and whose value is of the type of the given clazz and passes the value filter.
Link copied to clipboard
@NonNull
@NonNull
Allows an extra member with the key MediaStore.EXTRA_OUTPUT.
Link copied to clipboard
@NonNull
Allows an extra member with the key Intent.EXTRA_STREAM.
Link copied to clipboard
@NonNull
Allows an extra member with the key Intent.EXTRA_STREAM.
Link copied to clipboard
Sets allowed flags.
Link copied to clipboard
Adds all history stack flags into the allowed flags set.
Link copied to clipboard
Allows any identifier.
Link copied to clipboard
@NonNull
Add a filter for allowed packages.
@NonNull
Add a package to the allowed packages.
Link copied to clipboard
Adds all receiver flags into the allowed flags set.
Link copied to clipboard
Allow any selector.
Link copied to clipboard
Allow any source bounds.
Link copied to clipboard
@NonNull
Add a filter for allowed data types.
Add a data type to the allowed type list.
Link copied to clipboard
Build the IntentSanitizer.